
using System;
using Abp.Application.Services.Dto;
using System.ComponentModel.DataAnnotations;

namespace Precise.Products.Dtos
{
    public class CreateOrEditGoodsDto : EntityDto<long?>
    {

		[Required]
		[StringLength(GoodsConsts.MaxNameLength, MinimumLength = GoodsConsts.MinNameLength)]
		public string Name { get; set; }
		
		
		public long TotalNumber { get; set; }
		
		
		public decimal Price { get; set; }
		
		
		public string Description { get; set; }
		
		
		 public long ProductId { get; set; }
		 
		 
    }
}